/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.fd.domain.req.document;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 *
 *
 * @author wwj
 * @date 2021-1-16
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class CreateDocumentRequest {
	/**
	 * 文档名称
	 */
	@NotBlank
	private String documentName;

	/**
	 * 文档类型：0-未定义，1-文档，2-表格，3-演示稿，4-图片，5-音频，6-视频
	 */
	@NotNull
	private Integer documentType;
	/**
	 * 文件夹Id
	 */
	@NotNull
	private Long folderId;

	/**
	 * 知识库Id
	 */
	@NotNull
	private Long repositoryId;

}
